package com.example.base.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.base.excetion.GlobalExcetion;
import com.example.base.system.domain.SysTable;
import com.example.base.system.domain.vo.SysTableVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author X.I.O
 * @since 2024-02-21
 */
public interface SysTableService extends IService<SysTable> {

    public SysTable saveSysTable(SysTable systable) throws GlobalExcetion;

    public SysTable updateSysTableById(SysTable systable) throws GlobalExcetion;

    public SysTable saveOrUpdateSysTable(SysTableVo systableVo) throws GlobalExcetion;

    public IPage<SysTable> page(Integer page,Integer pageSize) throws GlobalExcetion;

    public List<Map<String,String>> systemTableList();

    public SysTable getSysTableByNo(String no);

    public List<Map<String,Object>> getTableInfo(String tableName);


}
